<template>
  <div class="about">
    <button @click="buy">买票</button>
  </div>
</template>
<script>
export default {
  methods: {
    buy() {
      localStorage.setItem('ticket', true)
    }
  }
}
</script>
